(function() {
  app.value('footer_config', {
    arr: [{
        show: ['/home'],
        img: {
          undo: 'img/icon-home-black.png',
          do: 'img/icon-home-red.png',

        },
        txt: '首页',
        state: 'home',
        num: -1,

      },
      {
        show: ['/zixuan', '/market.hs', '/market.bk', '/market.cy', ],
        img: {
          undo: 'img/icon-hangqing-black.png',
          do: 'img/icon-hangqing.png',
        },
        txt: '行情',
        state: 'zixuan',
        num: -1,
      },
      {
        show: ['/running/:tab_index'],
        img: {
          undo: 'img/icon-zhixing-black.png',
          do: 'img/icon-zhixing.png',
          css: {
            width: '0.5rem',
            height: '0.5rem'
          }
        },
        txt: '执行',
        state: 'running',
        state_params: {
          tab_index: '1'
        },
        num: -1,

      },
      {
        show: ['/report'],
        img: {
          undo: 'img/icon-huibao-black.png',
          do: 'img/icon-huibao.png',
        },
        txt: '回报',
        state: 'report',
        num: -1,
      },
    ],
    config: {
      toggle: true,
      padding_bottom: '1.3rem',
      theme: {
        height: '1.1rem',
        background: '#fff',
        color: 'black',
      },
      img_wrap: {
        width: '0.5rem',
        height: '0.5rem',
      },
      circle: {
        right: '-0.2rem',
        top: '-0.1rem',
        width: '0.35rem',
        height: '0.35rem',
        fontSize: '0.28rem'
      },
      show: {
        page: ['/home', '/zixuan', '/running/:tab_index', '/report', '/market.hs', '/market.bk', '/market.cy', ],
        img: true,
        txt: true,
        toggle: false,
      },
      txt: {
        undo: {
          color: '#adadad',
          fontSize: '0.28rem',
        },
        do: {
          color: 'red',
          fontSize: '0.28rem',
        },
      },
    },
  });
})();